package com.wwx.worldonwheels.mapper;

import com.wwx.worldonwheels.VO.ServiceVO;
import com.wwx.worldonwheels.domain.WwxService;
import com.wwx.worldonwheels.domain.WwxServiceExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface WwxServiceMapper {
    ServiceVO[] ListService(String id);

    long countByExample(WwxServiceExample example);

    int deleteByExample(WwxServiceExample example);

    int deleteByPrimaryKey(Integer servId);

    int insert(WwxService record);

    int insertSelective(WwxService record);

    List<WwxService> selectByExample(WwxServiceExample example);

    List<WwxService> selectByCustId(Integer custId);

    WwxService selectByPrimaryKey(Integer servId);

    int updateByExampleSelective(@Param("record") WwxService record, @Param("example") WwxServiceExample example);

    int updateByExample(@Param("record") WwxService record, @Param("example") WwxServiceExample example);

    int updateByPrimaryKeySelective(WwxService record);

    int updateByPrimaryKey(WwxService record);
}